﻿using System;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Collections.Generic;
using System.Reflection;
namespace BLL
{
	 	//SF_help_class
		public static class SF_help_class
	{	
	    private static Data.SF_help_class Data_SF_help_class = new Data.SF_help_class();	
		
		/// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static long Add(Model.SF_help_class model)
        {
              return Data_SF_help_class.Add(model);
        }
         /// <summary>
        /// 修改
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static int Update(Model.SF_help_class model)
        {
            return Data_SF_help_class.Update(model);
        }
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        public static bool Delete(long Id)
        {
            return Data_SF_help_class.Delete(Id);
        }       
        /// <summary>
        /// 单条
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        public static Model.SF_help_class GetModel(long Id)
        {
             return Data_SF_help_class.GetModel(Id);
        }
        /// <summary>
        /// 总数据数
        /// </summary>
        /// <returns></returns>
        public static int GetAll_Count()
        {
            return Data_SF_help_class.GetAll_Count();
        }        
        /// <summary>
        /// 抽取分页数据
        /// </summary>
        public static List<Model.SF_help_class> GetPageList_Where(int pageIndex, int pageSize,string classname,out int totalCount)
        {          
             return Data_SF_help_class.GetPageList_Where(pageIndex, pageSize,classname, out totalCount);
        }
        /// <summary>
        /// 批删
        /// </summary>
        /// <param name="Ids"></param>
        /// <returns></returns>
        public static int Drop(string Ids)
        {
            return Data_SF_help_class.Drop(Ids);
        }
        public static List<Model.SF_help_class> GetXSZY()
        {
            return Data_SF_help_class.GetXSZY();
        }
        public static List<Model.SF_help_class> GetByClassid(long pid)
        {
            return Data_SF_help_class.GetByClassid(pid);
        }
	}
}